﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace 小菜扮靓第3版
{
    class Program
    {
        static void Main(string[] args)
        {
            Person xc = new Person("小菜");
            Suit suit = new Suit();
            BigTrouser bigtrouser = new BigTrouser();
            Sneakers sneakers = new Sneakers();

            suit.SetComponent(xc);
            bigtrouser.SetComponent(suit);
            sneakers.SetComponent(bigtrouser);
            sneakers.Show();
        }
    }
}
